import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import './plugins/element.js'
import router from './router'

Vue.config.productionTip = false

// import http from "./http";
// Vue.prototype.$http = http  //可以在任意一个页面使用this。http访问接口

import  VueResource  from 'vue-resource'
Vue.use(VueResource)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
